package cn.stylefeng.guns.modular.order.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 入库订单明细表
 */
@TableName("order_put_detailed")
@Data
public class OrderPutDetailed implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 入库订单编号
     */
    @TableField("put_detailed_number")
    private String putDetailedNumber;

    /**
     * 商品名称
     */
    @TableField("detailed_goodsname")
    private String detailedGoodsname;

    /**
     * 商品id
     */
    @TableField("detailed_goodsnum")
    private Long detailedGoodsnum;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 货号
     */
    @TableField("goods_no")
    private String goodsNo;

    /**
     * 工厂号
     */
    @TableField("detailed_factory")
    private String detailedFactory;

    /**
     * 应入大包数
     */
    @TableField("detailed_putbalenum")
    private String detailedPutbalenum;

    /**
     * 应入数量
     */
    @TableField("detailed_putnum")
    private String detailedPutnum;

    /**
     * 应入重量
     */
    @TableField("detailed_putweight")
    private String detailedPutweight;

    /**
     * 重量
     */
    @TableField("goods_weight")
    private String goodsWeight;

    /**
     * 应入体积
     */
    @TableField("detailed_putvolume")
    private String detailedPutvolume;

    /**
     * 体积（M3）
     */
    @TableField("goods_volume")
    private String goodsVolume;

    /**
     * 单价
     */
    @TableField("detailed_unitprice")
    private String detailedUnitprice;

    /**
     * 金额
     */
    @TableField("detailed_money")
    private String detailedMoney;

    /**
     * 批号
     */
    @TableField("detailed_batchnumber")
    private String detailedBatchnumber;

    /**
     * 生产日期
     */
    @TableField("detailed_dateofmanufacture")
    private String detailedDateofmanufacture;

    /**
     * 推荐批次
     */
    @TableField("recommend")
    private String recommend;

    /**
     * 重泡货
     */
    @TableField("detailed_rebubbles")
    private String detailedRebubbles;

    /**
     * 商品大类
     */
    @TableField("detailed_largeclass")
    private String detailedLargeclass;

    /**
     * 商品类别
     */
    @TableField("detailed_goodstype")
    private String detailedGoodstype;

    /**
     * 保管条件
     */
    @TableField("detailed_putcondition")
    private String detailedPutcondition;

    /**
     * 单位
     */
    @TableField("goods_unit")
    private String goodsUnit;

    /**
     * 商品包装
     */
    @TableField("detailed_packing")
    private String detailedPacking;

    /**
     * 规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * 件装量
     */
    @TableField("detailed_piecenum")
    private String detailedPiecenum;

    /**
     * 备注
     */
    @TableField("nodes")
    private String nodes;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建用户
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 修改用户
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    @Override
    public String toString() {
        return "OrderPutDetailed{" +
        "id=" + id +
        ", putDetailedNumber=" + putDetailedNumber +
        ", detailedGoodsname=" + detailedGoodsname +
        ", detailedGoodsnum=" + detailedGoodsnum +
        ", goodsNumber=" + goodsNumber +
        ", detailedFactory=" + detailedFactory +
        ", detailedPutbalenum=" + detailedPutbalenum +
        ", detailedPutnum=" + detailedPutnum +
        ", detailedPutweight=" + detailedPutweight +
        ", detailedPutvolume=" + detailedPutvolume +
        ", detailedUnitprice=" + detailedUnitprice +
        ", detailedMoney=" + detailedMoney +
        ", detailedBatchnumber=" + detailedBatchnumber +
        ", detailedDateofmanufacture=" + detailedDateofmanufacture +
        ", recommend=" + recommend +
        ", detailedRebubbles=" + detailedRebubbles +
        ", detailedPacking=" + detailedPacking +
        ", detailedLargeclass=" + detailedLargeclass +
        ", detailedGoodstype=" + detailedGoodstype +
        ", detailedPutcondition=" + detailedPutcondition +
        ", detailedPiecenum=" + detailedPiecenum +
        ", nodes=" + nodes +
        ", version=" + version +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", goodsVolume=" + goodsVolume +
        ", goodsWeight=" + goodsWeight +
        "}";
    }
}
